@import "modules/reset.scss";
@import "modules/headerRepeat.scss";
@import "modules/navRepeat.scss";
@import "modules/footerRepeat.scss";

body{
    background-color: #e9e9e9;
}
.navBox{
    position: sticky;
    top: 0;
    z-index: 11;
}
// 列表页内容区
.container{
    width: 1220px;
    margin: 0 auto;
    overflow: hidden;
    .sortBox{
        height: 61px;
        display: flex;
        justify-content: start;
        align-items: center;
        font-size: 12px;
        line-height: 12px;
        color: #878787;
        li{
            padding: 0 9px;
            cursor: pointer;
            &:hover{
                color: #456ae5;
            }
            &.active{
                cursor: default;
                color: #456ae5;
            }
        }
        i{
            padding: 0 10px;
        }
    }
    .category-box{
        width: 100%;
        background-color: #fff;
        border-radius: 7px;
        margin-bottom: 41px;
        display: flex;
        flex-wrap: wrap;
        overflow: hidden;
        .category-box-list{
            height: 375px;
            width: 20%;
            box-sizing: border-box;
            border-right: 1px solid #ebebeb;
            border-bottom: 1px solid #ebebeb;
            overflow: hidden;
            position: relative;
            .category-list-imgBox{
                width: 204px;
                height: 204px;
                margin: 20px auto 10px;
                img{
                    display: block;
                    width: 100%;
                    height: 100%;
                }
            }
            .category-list-msgBox{
                height: 102px;
                text-align: center;
                padding: 0 10px;
                h4{
                    font-size: 13px;
                    height: 13px;
                    line-height: 13px;
                    color: #262626;
                    font-weight: bold;
                    white-space: nowrap;
                    overflow: hidden;
                    text-overflow: ellipsis;
                }
                h5{
                    font-size: 12px;
                    height: 12px;
                    line-height: 12px;
                    color: #878787;
                    white-space: nowrap;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    margin-top: 16px;
                }
            }
            .category-list-priceBox{
                span{
                    display: block;
                    text-align: center;
                    font-size: 16px;
                    height: 16px;
                    line-height: 16px;
                    font-weight: bold;
                    color: #000;
                }
            }
            .category-list-cover{
                display: block;
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                &:hover{
                    box-shadow: 0 0 50px 1px #ccc inset;
                }
            }
        }
    }
}